Package lemon :: Package external :: Package Cheetah :: Package Tests :: Module unittest_local_copy :: Class _TextTestResult
[show private | hide private]
[frames | no frames]

Class _TextTestResult

StreamWrapper --+
                |
   TestResult --+
                |
               _TextTestResult


Method Summary
  __init__(self, stream, errStream, verbosity, explain)
  addError(self, test, err)
Called when an error has occurred...
  addFailure(self, test, err)
Called when a failure has occurred...
  addSuccess(self, test)
Called when a test has completed successfully...
  beginTests(self)
  endTests(self)
  printErrorList(self, flavour, errors)
  printErrors(self)
  startTest(self, test)
Called when the given test is about to be run...
  stop(self)
Indicates that the tests should be aborted...
  summarize(self)
  writeErrSep1(self)
  writeErrSep2(self)
  writeSep1(self)
  writeSep2(self)
    Inherited from TestResult
  __repr__(self)
  stopTest(self, test)
Called when the given test has been run...
  wasSuccessful(self)
Tells whether or not this result was a success...
    Inherited from StreamWrapper
  write(self, txt)
  writeErr(self, txt)
  writeln(self, *lines)
  writelnErr(self, *lines)

Class Variable Summary
str _errorSep1 = '*'
str _errorSep2 = '-'
str _errorSep3 = ''
str _sep1 = '='
str _sep2 = '-'
int _separatorWidth = 70                                                                    

Method Details

addError(self, test, err)

Called when an error has occurred
Overrides:
lemon.external.Cheetah.Tests.unittest_local_copy.TestResult.addError (inherited documentation)

addFailure(self, test, err)

Called when a failure has occurred
Overrides:
lemon.external.Cheetah.Tests.unittest_local_copy.TestResult.addFailure (inherited documentation)

addSuccess(self, test)

Called when a test has completed successfully
Overrides:
lemon.external.Cheetah.Tests.unittest_local_copy.TestResult.addSuccess (inherited documentation)

startTest(self, test)

Called when the given test is about to be run
Overrides:
lemon.external.Cheetah.Tests.unittest_local_copy.TestResult.startTest (inherited documentation)

stop(self)

Indicates that the tests should be aborted
Overrides:
lemon.external.Cheetah.Tests.unittest_local_copy.TestResult.stop (inherited documentation)

Class Variable Details

_errorSep1

Type:
str
Value:
'*'                                                                    

_errorSep2

Type:
str
Value:
'-'                                                                    

_errorSep3

Type:
str
Value:
''                                                                     

_sep1

Type:
str
Value:
'='                                                                    

_sep2

Type:
str
Value:
'-'                                                                    

_separatorWidth

Type:
int
Value:
70                                                                    

Generated by Epydoc 2.0 on Mon Nov 10 15:08:20 2003 http://epydoc.sf.net